package com.yuliang.dao;

import com.yuliang.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDao {
    List<User> getAll();

    String getAddr(Integer id);

    @Select("select * from user where id = #{id} ;")
    User getUserById(Integer id);
}
